package com.dlc.felear.xiaoensale.utils;

import java.util.UUID;

public class UuidUtil {
    public static String getUuid() {
        return UUID.randomUUID().toString().replace("-", "");
    }


    public static String getUuidByName(String name) {

        return UUID.nameUUIDFromBytes(name.getBytes()).toString().replace("-", "");
    }



}
